package com.rtos.model.cpu.registers;

import lombok.Data;

/**
 * @Author: biubiu0002
 * @Date: 2021-08-30 23:17
 * 程序状态寄存器
 * 饿汉式单例
 **/
@Data
public class PSW extends AbstractRegister {
    private PSW(){
        buffer=0;
    }

    private static PSW psw = new PSW();

    public static PSW getInstance(){
        return psw;
    }



}
